﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="leftMenu.ascx.cs" Inherits="usercontrol_leftMenu" %>
<input ID="hidOrderPrice" runat="server"  group="order" type="hidden"/>
<input ID="hidOrderArea" runat="server"  group="order" type="hidden"/>
<input ID="hidHuongID" runat="server" group="phanloai" type="hidden"/>
<input ID="hidDDDuongID" runat="server" group="phanloai" type="hidden"/>
<div class="menuL">
    <div class="boxMenuL" rel="slGia">
        <span class="l"></span><span class="m"><a href="#">Giá</a></span><span class="r"></span>                   
    </div>      
        <div class="leftMenu" id="slGia" >
        <ul>
            <li>
                <a href="javascript:void" onclick="selectCriteria(this,'homeGia desc',$('input[id*=hidOrderPrice]'))">Sắp xếp từ cao đến thấp</a>
                <a href="javascript:void(0)" onclick="delCriteria(this,$('input[id*=hidOrderPrice]'))" class="lnkDel">x</a>
            </li>
            <li class="noborder">
                <a href="javascript:void(0)" onclick="selectCriteria(this,'homeGia asc',$('input[id*=hidOrderPrice]'))">Sắp xếp từ thấp đến cao</a>
                <a href="javascript:void(0)" onclick="delCriteria(this,$('input[id*=hidOrderPrice]'))" class="lnkDel">x</a>
            </li>
        </ul>
        <p class="bl"></p><p class="bm"></p><p class="br"></p>
    </div>              
</div>
<div class="menuL">
    <div class="boxMenuL" rel="slDienTich">
        <span class="l"></span><span class="m"><a href="#">Diện tích</a></span><span class="r"></span>                   
    </div>
    <div class="leftMenu" id="slDienTich">
        <ul >
            <li>
                <a href="javascript:void" onclick="selectCriteria(this,'homeArea desc',$('input[id*=hidOrderArea]'))">Sắp xếp từ nhỏ đến lớn</a>
                <a href="javascript:void(0)" onclick="delCriteria(this,$('input[id*=hidOrderArea]'))" class="lnkDel">x</a>
            </li>
            <li class="noborder">
                <a href="javascript:void(0)" onclick="selectCriteria(this,'homeArea asc',$('input[id*=hidOrderArea]'))">Sắp xếp từ lớn đến nhỏ</a>
                <a href="javascript:void(0)" onclick="delCriteria(this,$('input[id*=hidOrderArea]'))" class="lnkDel">x</a>
            </li>
        </ul>
        <p class="bl"></p><p class="bm"></p><p class="br"></p>
    </div>
</div>
<div class="menuL">
    <div class="boxMenuL" rel="slHuong">
        <span class="l"></span><span class="m"><a href="#">Hướng</a></span><span class="r"></span>                   
    </div>
    <div class="leftMenu" id="slHuong">
        <ul >
        <asp:Repeater ID="repHuong" runat="server">
            <ItemTemplate>
            <li>                
                <a href="javascript:void(0)" onclick="selectCriteria(this,<%# Eval("id") %>,$('input[id*=hidHuongID]'))"><%# Eval("catName") %></a>
                <a href="javascript:void(0)" onclick="delCriteria(this,$('input[id*=hidHuongID]'))" class="lnkDel">x</a></li>
            </ItemTemplate>
        </asp:Repeater>
        </ul>
        <p class="bl"></p><p class="bm"></p><p class="br"></p>
    </div>
</div>
<div class="menuL">
    <div class="boxMenuL" rel="slDDDuong">
        <span class="l"></span><span class="m"><a href="#">ĐĐ đường </a></span><span class="r"></span>                   
    </div>    
        <div class="leftMenu" id="slDDDuong">
        <ul >
            <asp:Repeater ID="repDuong" runat="server">
                <ItemTemplate>
                <li>
                    <a href="javascript:void(0)" onclick="selectCriteria(this,<%# Eval("id") %>,$('input[id*=hidDDDuongID]'))"><%# Eval("catName") %></a>
                    <a href="javascript:void(0)" onclick="delCriteria(this,$('input[id*=hidDDDuongID]'))" class="lnkDel">x</a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
        <p class="bl"></p><p class="bm"></p><p class="br"></p>
    </div>               
</div>